package com.javapatterns.command.javaawt;

import java.awt.*;
import java.awt.event.*;

public class LetThereBeLightCommand extends Button implements CommandFromGod {
	Panel p;

	public LetThereBeLightCommand(String caption, Panel pnl) {
		super(caption);
		p = pnl;
	}

	public void Execute() {
		p.setBackground(Color.white);
	}
}
